package com.accp.vehiclecare.action.lscaction;

import com.accp.vehiclecare.biz.lscbiz.UtbaBiz;
import com.accp.vehiclecare.pojo.User;
import com.accp.vehiclecare.vo.lscvo.UtbaVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/c/utba")
public class UtbaAction {
    @Autowired
    private UtbaBiz biz;

    @GetMapping("byid")
    public List<UtbaVo> querbyid(Integer id){
        return biz.querbyid(id);
    }

    @GetMapping("quser")
    public User queruser(String rid){
        return biz.queruser(rid);
    }
}
